/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import dao.Mahasiswa;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author jarul
 */
public interface MahasiswaInterface {
    
    Mahasiswa insert(Mahasiswa mhs) throws SQLException;
    
    void update(Mahasiswa mhs) throws SQLException;
    
    void delete(int nim) throws SQLException;
    
    List getAll() throws SQLException;
    
}
